﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using UploadFile.Common;

namespace UploadFile.Models
{
    public class FileData : IEntity
    {

        public Guid Id { get; set; }

        /// <summary>
        /// 文件唯一标识
        /// </summary>
        public virtual Guid FileGuid
        {
            get;
            set;
        }

        /// <summary>
        /// 文件名称
        /// </summary>
        public virtual string FileName
        {
            get;
            set;
        }

        /// <summary>
        /// 文件存放路径
        /// </summary>
        public virtual string FilePath
        {
            get;
            set;
        }

        /// <summary>
        /// 上传日期
        /// </summary>
        public virtual DateTime UploadDate
        {
            get;
            set;
        }

        /// <summary>
        /// 上传IP
        /// </summary>
        public virtual string IPAddress
        {
            get;
            set;
        }

    }
}
